import request from '@/utils/request'

// 查询员工彰奖励信息列表
export function listEmployeeAwardsInfo(query) {
  return request({
    url: '/business/employeeAwardsInfo/list',
    method: 'get',
    params: query
  })
}

// 查询员工彰奖励信息详细
export function getEmployeeAwardsInfo(id) {
  return request({
    url: '/business/employeeAwardsInfo/' + id,
    method: 'get'
  })
}

// 新增员工彰奖励信息
export function addEmployeeAwardsInfo(data) {
  return request({
    url: '/business/employeeAwardsInfo',
    method: 'post',
    data: data
  })
}

// 修改员工彰奖励信息
export function updateEmployeeAwardsInfo(data) {
  return request({
    url: '/business/employeeAwardsInfo',
    method: 'put',
    data: data
  })
}

// 删除员工彰奖励信息
export function delEmployeeAwardsInfo(id) {
  return request({
    url: '/business/employeeAwardsInfo/' + id,
    method: 'delete'
  })
}
